home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 426-450 / disk_441 / dme / rexmacs / put.dme < prev    next >
Text File  |  1992-05-06  |  399b  |  16 lines

  1. /*   Saves the marked block as a file with the filename specified by     */
  2. /*   the 1st argument.    If no name is specified, the block is written     */
  3. /*   to file "t:$bsave".  Arguments following the 1st one are ignored.   */
  4. /*                                     */
  5. /*   Kim DeVaughn  12/21/87                         */
  6.  
  7. options failat 5
  8. rc = 0
  9.  
  10. parse arg filename junk
  11. if filename = ""
  12.    then bsave "t:$bsave"
  13.    else bsave  filename
  14. exit rc
  15.  
  16.